package com.jlnx.pojo;

/*
 * 企业类
 */
public class Enterprise {

	private String entNo;//企业登录账号
	private String name;//企业名称
	private String entCodeCredit;//企业统一社会信用代码
	private String password;//登录密码
	private String phoneNo;//手机号
	private int role;//企业角色：1.核心企业；2.商业银行；3.链条企业
	public Enterprise(String entNo, String name, String entCodeCredit, String password, String phoneNo, int role) {
		super();
		this.name = name;
		this.entNo = entNo;
		this.entCodeCredit = entCodeCredit;
		this.password = password;
		this.phoneNo = phoneNo;
		this.role = role;
	}
	public Enterprise(String entNo, String name, String entCodeCredit, String phoneNo) {
		this.name = name;
		this.entNo = entNo;
		this.entCodeCredit = entCodeCredit;
		this.phoneNo = phoneNo;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEntNo() {
		return entNo;
	}
	public void setEntNo(String entNo) {
		this.entNo = entNo;
	}
	public String getEntCodeCredit() {
		return entCodeCredit;
	}
	public void setEntCodeCredit(String entCodeCredit) {
		this.entCodeCredit = entCodeCredit;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getPhoneNo() {
		return phoneNo;
	}
	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	@Override
	public String toString() {
		return "Enterprise [name=" + name + ", entNo=" + entNo + ", entCodeCredit=" + entCodeCredit + ", password="
				+ password + ", phoneNo=" + phoneNo + ", role=" + role + "]";
	}
	

	
}
